home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Tool Chest / Development Tools & Languages / Dylan Related / Mindy-1.1 (sources only) / mindy-1.1 / GNUmakefile < prev    next >
Encoding:
Makefile  |  1994-06-29  |  1.8 KB  |  62 lines  |  [TEXT/ttxt]

  1. ######################################################################
  2. ##
  3. ## Copyright (c) 1994  Carnegie Mellon University
  4. ## All rights reserved.
  5. ## 
  6. ## Use and copying of this software and preparation of derivative
  7. ## works based on this software are permitted, including commercial
  8. ## use, provided that the following conditions are observed:
  9. ## 
  10. ## 1. This copyright notice must be retained in full on any copies
  11. ##    and on appropriate parts of any derivative works.
  12. ## 2. Documentation (paper or online) accompanying any system that
  13. ##    incorporates this software, or any part of it, must acknowledge
  14. ##    the contribution of the Gwydion Project at Carnegie Mellon
  15. ##    University.
  16. ## 
  17. ## This software is made available "as is".  Neither the authors nor
  18. ## Carnegie Mellon University make any warranty about the software,
  19. ## its performance, or its conformity to any specification.
  20. ## 
  21. ## Bug reports, questions, comments, and suggestions should be sent by
  22. ## E-mail to the Internet address "gwydion-bugs@cs.cmu.edu".
  23. ##
  24. ######################################################################
  25. ##
  26. ##  $Header: GNUmakefile,v 1.4 94/06/29 03:33:08 wlott Exp $
  27. ##
  28. ##  This is the top-level source makefile for Mindy.  It lives at the top
  29. ## of the Mindy source tree, and recursivly runs make on each of the
  30. ## subdirectoies.
  31. ##
  32.  
  33. include Config
  34.  
  35. CSUBDIRS = interp comp
  36. DYLANSUBDIRS = libraries demos
  37. SUBDIRS = ${CSUBDIRS} ${DYLANSUBDIRS}
  38.  
  39. all: ${SUBDIRS}
  40.  
  41. .PHONY: ${SUBDIRS}
  42.  
  43. ${SUBDIRS}:
  44.     $(MAKE) -C $@
  45.  
  46. depend:
  47.     $(foreach subdir,$(CSUBDIRS), \
  48.         $(MAKE) -C $(subdir) depend IGNORE_DEPENDS=SET;)
  49.  
  50. clean:
  51.     $(foreach subdir,$(SUBDIRS), \
  52.         $(MAKE) -C $(subdir) clean IGNORE_DEPENDS=SET;)
  53.  
  54. ${DESTDIR}/bin:
  55.     mkdir ${DESTDIR}/bin
  56.  
  57. install: ${DESTDIR}/bin
  58.     $(foreach subdir,$(SUBDIRS), \
  59.         $(MAKE) -C $(subdir) install;)
  60.  
  61. ${DYLANSUBDIRS}: comp
  62.